<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-AU" }}">
  <head>
    <meta charset='utf-8'>
{% seo %}
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="theme-color" content="#157878">
    <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
  </head>

  <body>
    <section class="page-header">
      <h1 class="project-name">
        <img src="{{ '/assets/screenshots/hr-icon.png' | relative_url }}" height="64" width="64" alt="" />
        {{ page.title | default: site.title | default: site.github.repository_name }}
      </h1>
      <h2 class="project-tagline">{{ site.description | default: site.github.project_tagline }}</h2>
      <a href="./fdroid" target="_blank">
      <img src="{{ '/assets/logos/fdroid.png' | relative_url }}" width="207" height="80" alt="Get it on F-Droid" /></a>

      <a href="https://play.google.com/store/apps/details?id=au.id.micolous.farebot" target="_blank">
      <img src="{{ '/assets/logos/gplay.png' | relative_url }}" width="207" height="80" alt="Get it on Google Play" /></a>
      <br>

      <a href="{{ site.github.repository_url }}" class="btn"><span>View on GitHub</span></a>
      <a href="{{ site.github.repository_url }}/releases/latest" class="btn"><span>Download .apk</span></a>
      <br>
      <a href="./privacy" class="btn"><span>Privacy and Permissions Statement</span></a>
      <a href="{{ site.github.repository_url }}/issues" class="btn"><span>Issue Tracker</span></a>
    </section>

    <section class="main-content">
      {{ content }}

      <footer class="site-footer">
        {% if site.github.is_project_page %}
          <span class="site-footer-owner"><a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.</span>
        {% endif %}
        <span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
      </footer>
    </section>

    {% if site.google_analytics %}
      <script type="text/javascript">
        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
        (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
        m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
        })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
        ga('create', '{{ site.google_analytics }}', 'auto');
        ga('send', 'pageview');
      </script>
    {% endif %}
  </body>
</html>
